#include<iostream>
using namespace std;
class student

{
    public:
    student(){cout<<"构造函数";}
    ~student(){cout<<"析构函数";}
    student(const student &stu){cout<<"拷贝构造函数";}
private:
   
};
int main()
{ student stu1;
   student stu2 =stu1;
   student stu3 = student(stu1);

}

